package edu.mymvc.service.impl;

import edu.mymvc.entity.User;
import edu.mymvc.mapper.UserMapper;
import edu.mymvc.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IUserSerivecImpl implements IUserService {
    @Autowired
    UserMapper userMapper;

    public User findById(Long id){
        return userMapper.findById(id);
    }

}
